<template>
	<view class="index">
		<template v-if="!getIslogin">
			<view>请先登录</view>
		</template>
		<template v-else>
			<view>66</view>
		</template>
	</view>
</template>

<script>
	import {
		mapGetters
	} from "vuex";
	import avatar from "../../components/common/avatar/index.vue";
	export default {
		data() {
			return {};
		},
		components: {
			avatar
		},
		computed: {
			...mapGetters(["getIslogin", "getUserInfoName", "getUserInfoUserName"]),
			getNumber() {
				return store?.userInfo?.name || ''
			},
			getId() {
				return store?.userInfo?.id || ''
			},
			getRole() {
				return store?.userInfo?.role || ''
			},
		},
		methods: {},
		onload() {},
	};
</script>

<style scoped lang="less">
	.index {}
</style>
